import breadcrumb from './Breadcrumb/index'
import egrid from './egrid/index'
import epagination from './Pagination/index'
import areaCode from './areaCode/areaCode'
import mainTilte from './mainTilte/mainTilte'
import uploadFile from './uploadFile'
import ckEditor from './ckEditor'
// import appointViewWorFlow from './workFlow/appointViewWorkFlow'

// 这里是重点
const components = {
  install: function(Vue) {
    Vue.component('breadcrumb', breadcrumb)
    Vue.component('egrid', egrid)
    Vue.component('epagination', epagination)
    Vue.component('areaCode', areaCode)
    Vue.component('mainTilte', mainTilte)
    Vue.component('uploadFile', uploadFile)
    Vue.component('ckEditor', ckEditor)
    // Vue.component('appointViewWorFlow', appointViewWorFlow)
  }
}

// 导出组件
export default components
